home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr27 / alcart10.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1995-04-16  |  4KB  |  137 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo.
  5. echo                            -= alaCARTE Install =-
  6. echo.
  7. echo.
  8. echo                Creating C:\ALACARTE directory, and moving files
  9. echo                to that directory.
  10. echo.
  11. echo.
  12. echo.
  13. echo.
  14. pause 
  15.  
  16. md c:\alacarte
  17. copy 0.bat c:\alacarte
  18. copy menu_00.dat c:\alacarte
  19. copy add.dat c:\alacarte
  20. copy file_id.diz c:\alacarte
  21. copy alacarte.doc c:\alacarte
  22. copy alacarte.exe c:\alacarte
  23. copy alasaver.exe c:\alacarte
  24. copy alasaver.ico c:\alacarte
  25. copy install.bat c:\alacarte
  26. copy readme.txt c:\alacarte
  27.  
  28. cd c:\alacarte
  29. cls
  30. echo.
  31. echo.
  32. echo                            -= alaCARTE Install =-
  33. echo.
  34. echo.
  35. echo                Copying required program files to root directory.
  36. echo.
  37. echo.
  38. echo.
  39. echo.
  40. pause 
  41.  
  42. copy 0.bat c:\
  43. copy menu_00.dat c:\
  44. copy alacarte.exe c:\
  45. copy alasaver.exe c:\
  46.  
  47. cls
  48. echo.
  49. echo.
  50. echo                            -= alaCARTE Install =-
  51. echo.
  52. echo.
  53. echo                Do you want Install to add a "0.BAT" command to
  54. echo                your AUTOEXEC.BAT file so that your menus will
  55. echo                pop up automatically when you turn on or reboot
  56. echo                your computer?
  57. echo.
  58. echo.
  59. echo.
  60. echo.
  61. choice 
  62.  
  63. if errorlevel 1 if not errorlevel 2 goto AUTOSTART
  64.  
  65. cls
  66. echo.
  67. echo.
  68. echo                            -= alaCARTE Install =-
  69. echo.
  70. echo.
  71. echo                alaCARTE has now been installed on your computer
  72. echo                without altering your AUTOEXEC.BAT file. (You can
  73. echo                do that whenever you wish ... see ALACARTE.DOC
  74. echo                for details.)  All of the files from the archive
  75. echo                have been copied to the C:\ALACARTE directory on
  76. echo                your hard drive.  The files needed to operate the
  77. echo                menu system have been copied to your root directory.
  78. echo.
  79. echo                To pop up the menu from the dos prompt, simply
  80. echo                touch the "0" key and press ENTER.
  81. echo.
  82. echo.
  83. echo.
  84. echo.
  85. pause 
  86. goto done
  87.  
  88. :AUTOSTART
  89. copy c:\autoexec.bat c:\autoexec.ala
  90. copy c:\autoexec.bat+c:\alacarte\add.dat c:\tempfile
  91. del c:\autoexec.bat
  92. copy c:\tempfile c:\autoexec.bat
  93. del c:\tempfile
  94. cls
  95. echo.
  96. echo.
  97. echo                            -= alaCARTE Install =-
  98. echo.
  99. echo                Install has added four lines to the end of your
  100. echo                AUTOEXEC.BAT file, but didn't make any other changes.
  101. echo                If instructions preceding these last four lines
  102. echo                stop or terminate the batch file (usually an "end"
  103. echo                statement) they will prevent alaCARTE from popping
  104. echo                up when you reboot your computer.  In that case, use
  105. echo                any text editor to inspect your AUTOEXEC.BAT file
  106. echo                and make the necessary changes.
  107. echo.
  108. echo                Install also copied your original AUTOEXEC.BAT file
  109. echo                to AUTOEXEC.ALA ... if you have difficulties, delete
  110. echo                AUTOEXEC.BAT and rename AUTOEXEC.ALA to AUTOEXEC.BAT
  111. echo                to restore your system to its original configuration.
  112. echo.
  113. echo                (Press Print Screen now to send a copy of this note
  114. echo                to the printer or the Windows clip board, if desired.)
  115. echo                To pop up the menu from the dos prompt, simply touch
  116. echo                the "0" key and press ENTER.
  117. echo.
  118. pause 
  119. goto done
  120.  
  121. cls
  122. echo.
  123. echo.
  124. echo.
  125. echo.
  126. echo.
  127. echo                            -= alaCARTE Install =-
  128. echo.
  129. echo                 Don't forget ... save ALCARTxx.ZIP, then delete
  130. echo                 all the other files it expanded into your download
  131. echo                 directory.
  132. echo.
  133. echo                       -= Thank you for trying alaCARTE! =-
  134. pause
  135.  
  136. :done
  137.